function checkParams() {
    if ($.trim($("#honorUrl").val()).length === 0) {
        $("#errorMsg").html("请上传证书");
        return;
    }


        let form = $("#form-data");
        let url = form.attr("action");
        $.post(url, form.serialize(), function (data) {
            data = eval('(' + data + ')');
            if (data.success) {
                let page = $("#page").val();
                let newUrl = url.substring(0, url.lastIndexOf()-9) + "activityUser/list";
                $("#main-page").load(newUrl, {"page":page === undefined ? 0 : page});
            } else { $("#errorMsg").html(data.message); }

        })

}
